package Panel;

import Utils.MainTopView;

import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class BasicArchivesPanel extends JPanel {

 public BasicArchivesPanel(){
     this.setLayout(null);
     this.setBounds(0,100,680,365);
     this.setBackground(Color.gray);
     dir();
     this.setVisible(true);
 }
 public void dir(){
     JPanel dir = new JPanel();
     dir.setBackground(Color.white);
     dir.setBounds(0,0,170,345);
     String[] files = new String[] {"--基本档案管理--", "供货商管理", "销售商管理","商品档案管理","仓库管理"};
     JComboBox cb = new JComboBox(files);
     cb.setSelectedIndex(0);
     cb.setBounds(0, 0, 170, 200);
     dir.add(cb);
     this.add(dir);
 }
}
